|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OpponentModel
public abstract class OpponentModel
Describes an opponent model of an agent of the BOA framework. Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
| Field Summary | |
|---|---|
protected NegotiationSession |
negotiationSession
Reference to the negotiation state |
protected UtilitySpace |
opponentUtilitySpace
Reference to the estimated opponent's utility state |
| Constructor Summary | |
|---|---|
OpponentModel()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Removes references to the objects used by the opponent model. |
void |
endSession(NegotiationResult result)
Method called at the end of the negotiation. |
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile. |
double[] |
getIssueWeights()
|
java.lang.String |
getName()
|
UtilitySpace |
getOpponentUtilitySpace()
|
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain. |
void |
init(NegotiationSession negotiationSession)
Alternative init method to initialize the model without setting parameters. |
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the model. |
boolean |
isCleared()
|
java.io.Serializable |
loadData()
Method used to load the saved object, possibly created in a previous negotiation session. |
void |
setOpponentUtilitySpace(BilateralAtomicNegotiationSession fNegotiation)
Method which may be overwritten by an opponent model to get access to the opponent's utilityspace. |
void |
setOpponentUtilitySpace(UtilitySpace opponentUtilitySpace)
Method which may be overwritten by an opponent model to get access to the opponent's utilityspace. |
void |
storeData(java.io.Serializable object)
Method used to store data that should be accessible in the next negotiation session on the same scenario. |
void |
updateModel(Bid opponentBid)
Method used to update the opponent model. |
abstract void |
updateModel(Bid bid,
double time)
Method used to update the opponent model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected NegotiationSession negotiationSession
protected UtilitySpace opponentUtilitySpace
| Constructor Detail |
|---|
public OpponentModel()
| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
negotiationSession - reference to the state of the negotiationparameters -
java.lang.Exceptionpublic void init(NegotiationSession negotiationSession)
negotiationSession - reference to the state of the negotiationpublic void updateModel(Bid opponentBid)
opponentBid -
public abstract void updateModel(Bid bid,
double time)
bid - to update the model with.time - at which the bid was offered.public double getBidEvaluation(Bid bid)
bid - of which the utility is calculated.
public UtilitySpace getOpponentUtilitySpace()
public void setOpponentUtilitySpace(BilateralAtomicNegotiationSession fNegotiation)
fNegotiation - public void setOpponentUtilitySpace(UtilitySpace opponentUtilitySpace)
opponentUtilitySpace - public double getWeight(Issue issue)
issue - from which the weight should be returned
public double[] getIssueWeights()
public void cleanUp()
public boolean isCleared()
public java.lang.String getName()
public final void storeData(java.io.Serializable object)
object - to be saved by this component.public final java.io.Serializable loadData()
public void endSession(NegotiationResult result)
result - of the negotiation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||